package com.ordersystem.service;

import com.ordersystem.domain.DishCategory;

import java.util.List;

/**
 * @author : asus1020
 * @version : [v1.0]
 * @className : CategoryService
 * @description : [描述说明该类的功能]
 * @createTime : [2022/3/26 12:42]
 * @updateUser : asus1020
 * @updateTime : [2022/3/26 12:42]
 * @updateRemark : [描述说明本次修改内容]
 */
public interface CategoryService {
    List<DishCategory>findCategorys();
    DishCategory findCategoryById(Integer cid);
    int deleteCategory(Integer cid);
    int updateCategory(DishCategory dishCategory);
    int addCategory(DishCategory dishCategory);
    int statisticsDishNumberByCid(Integer cid);
}
